package com.zoo.diannaopeijian.service;

import com.zoo.diannaopeijian.domain.Ware;

import java.util.List;
import java.util.Map;

/**
 * Created by zx583 on 2018-01-10.
 */
public interface WareService {
    List<Ware> getWare(Ware ware);

    List<Ware> getWareWithPage(Integer page, Integer rows, Ware ware);

    List<Ware> getFuzzyWare(Ware ware);

    List<Ware> getFuzzyWareWithPage(Integer page, Integer rows, Ware ware);

    boolean addWare(Ware ware);

    boolean deleteWare(Integer wareid);

    boolean updateWare(Ware ware);

    List<Ware> getWareList(Ware ware);
}
